home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Original Shareware 1.1
/
The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso
/
32
/
life.zip
/
LIFE.DOC
< prev
next >
Wrap
Text File
|
1987-09-01
|
2KB
|
33 lines
The game of LIFE GENERATION...
Basically, this is just an introductory program to PASCAL. IT is
also quite interesting. The algorythm which the program uses to
determine whether a specific cell lives or dies is based on three simple
principles of nature. First, crowded cells, those which have more than
two neighbors will die, as will abandoned cells with less than two
neighbors. These are the two most important rules. The third rule is
that a cell form which either does not evolve further, or alternates
infinitely is also considered dead. Unfortunately, this program is not
designed to recognize stagnation, so you will have to stop the program
with CTRL-C.
Finally, since I am not familiar with MS-PASCAL to the extent that I
am with UCSD PASCAL, this program does not have a clear screen function.
It meerly executes a line scroll. I'm sure with the more modern Turbo
Pascal versions, many things can be added to this game. Feel free to do
so.
Playing the game:: You must first enter the number of cells to begin
with. This should be less than 15. Anybody can create an organism out
of 50 cells. It's the challenge of limited means which makes this game
fun. Then, the coordinates for each cell must be entered separately.
Remember, cell that are alone, or crowded will die. After you have
completed the coordinate entry, sit back and watch the organism grow,
recede, and sometimes even split in two. Your chances of creating an
infinitely developing organism are slim, however, some can live over 50
generations before they stagnate or die. Good luck on your creation!!
Written and documented by Joseph Velasco.
For Example purposes.
Compiler::> MS-PASCAL